<template>
  <div></div>
</template>

<script setup name="logout">
// 页面加载时
import {onMounted} from "vue";
import {NextLoading} from "/@/utils/loading";
import {Session} from "/@/utils/storage";
import { useRouter } from 'vue-router';
const router = useRouter();

onMounted(() => {
  // 清除缓存/token等
  Session.clear();
  router.push("/login")
});
</script>

<style scoped>

</style>
